package com.cc.shriojwtredis.wanling.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/04/18/15:50
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer uid;
    private int role;
    private String account;
    private String password;
    private int state;
    private String phone;
    private String username;
    private String address;

    public Integer getUid() {
        return uid;
    }

    public int getRole() {
        return role;
    }

    public String getAccount() {
        return account;
    }

    public String getPassword() {
        return password;
    }

    public int getState() {
        return state;
    }

    public String getPhone() {
        return phone;
    }

    public String getUsername() {
        return username;
    }

    public String getAddress() {
        return address;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
